﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;
using WXYW.Model;
using WXYW.BLL;

namespace WXYW
{
    public partial class CustomerLeft : System.Web.UI.Page
    {
        public PostModel PostModel;

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                PostService service = new PostService();
                PostModel = service.GetLatestPostModelForCustomer();
            }
        }

        //protected void ExitLnkBtn_Click(object sender, EventArgs e)
        //{
        //    FormsAuthentication.SignOut();
        //    FormsAuthentication.RedirectToLoginPage();
        //}
    }
}
